indicates the means or method by which something is done
जिस माध्यम से कुछ किया जाता है
English Usage: She completed the work by herself.
Hindi Usage: उसने काम खुद ही किया।
used to refer back to the subject of the sentence
वाक्य के विषय के लिए वापस संदर्भित करने के लिए उपयोग किया जाता है
English Usage: They managed to solve the problems by themselves.
Hindi Usage: उन्होंने समस्याओं को खुद ही हल किया।